package org.argus.common.web.core.data.api;

import org.argus.common.web.core.data.model.BuildCacheReq;
import org.argus.common.web.core.data.model.BuildCacheResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;

/**
 * @Author 刘文/Cliff Liu
 * @Date 2024/7/28
 */
@FeignClient(name = "argus-management", path = "/data/v1/cache")
public interface DataValueCacheApi {

    /**
     * 构建缓存
     * @param req
     * @return
     */
    @PutMapping("/build")
    BuildCacheResp buildCache(BuildCacheReq req);
}
